<div class="container">
  {{#if model.payments}}
  <h4>您最近的支付记录</h4>
  <div class="table-responsive">
    <table class="table table-condensed table-striped">
      <thead>
        <tr>
          <th>支付时间</th>
          <th>转账数量</th>          
          <th>转账记录 Hash</th>

        </tr>
      </thead>
      <tbody>
        {{#each model.payments as |tx|}}
          <tr>
            <td>{{format-date-locale tx.timestamp}}</td>
            <td>{{tx.amount}}</td>
            <td>
              <a href="https://explorer.xdag.io/block/{{tx.tx}}" class="hash" rel="nofollow" target="_blank">{{tx.tx}}</a>
            </td>            
          </tr>
        {{/each}}
      </tbody>
    </table>
  </div>
  {{else}}
  <h3>暂时还没有支付记录</h3>
  {{/if}}
</div>
